package com.entity;

import java.io.Serializable;
import java.util.Map;
import org.apache.ibatis.type.Alias;

public class Book implements Serializable{


    private static final long serialVersionUID = 1L;
    private Integer id;
    private String name;
    private String author;
    private String bookconcern;
    private String date;
    private String synopsis;
    private String pic;

    public String getPic() {
        return pic;
    }
    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public Book() {
        super();
    }
    public Book(Integer id, String name, String author,String bookconcern,String date,String synopsis,String pic) {
        super();
        this.id = id;
        this.name = name;
        this.author = author;
        this.bookconcern = bookconcern;
        this.date =date;
        this.synopsis = synopsis;
        this.pic = pic == null ? null : pic.trim();
    }


    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getAuthor() {
        return author;
    }
    public void setAuthor(String author) {
        this.author = author;
    }
    public String getBookconcern() {
        return bookconcern;
    }
    public void setBookconcern(String bookconcern) {
        this.bookconcern = bookconcern;
    }
    public String getDate() {
        return date;
    }


    public void setDate(String date) {
        this.date = date;
    }


    public String getSynopsis() {
        return synopsis;
    }


    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }
    public String toString() {
        return "Book [id=" + id + ", name=" + name + ", author="
                + author + ", bookconcern=" + bookconcern + ", date=" + date + ", synopsis=" + synopsis +", pic=" + pic+"]";
    }

}